NevronOpenVision
Nevron.Nov.IO Namespace / NBitConverter Class / ReverseArray16BitWord Method / ReverseArray16BitWord(Byte[],Int32,Int32) Method
In This Topic
    ReverseArray16BitWord(Byte[],Int32,Int32) Method
    In This Topic
    Reverses the bytes in the specified portion of the given array swapping every byte with odd index with the one after it. For example the byte array {12, 67, 31, 204} will be modified to {67, 12, 204, 31}.
    Syntax
    public static void ReverseArray16BitWord( 
       System.byte[] array,
       System.int startIndex,
       System.int count
    )

    Parameters

    array
    startIndex
    count
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also